

package top.continew.admin.question.manger.service.model;

/**
 * Created with Mac IntelliJ IDEA
 *
 * @Title: ExamPaperTypeVo
 * @Package: top.continew.question.controller.model
 * @Author: RHY
 * @Description:
 * @Date: 2020/3/3 22:41
 */
public class ExamPaperTypeVo {
    //1,选择题,2,多选题,3,判断题,4,情景题,5,简答题,6,辨析题,7,填空,8,完形填空,9,阅读理解,10 背景题
    private String type;
    private Integer num;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        switch (type) {
            case "1":
                type = "选择题";
                break;
            case "2":
                type = "多选题";
                break;
            case "3":
                type = "判断题";
                break;
            case "4":
                type = "情景题";
                break;
            case "5":
                type = "简答题";
                break;
            case "6":
                type = "辨析题";
                break;
            case "7":
                type = "填空";
                break;
            case "8":
                type = "完形填空";
                break;
            case "9":
                type = "阅读理解";
                break;
            case "10":
                type = "背景题";
                break;
            default:
                type = "其他";
                break;
        }
        this.type = type;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }
}
